<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML中From表单</title>
</head>

<body>
    <h3>表单就是用来用户输入信息的工具</h3>
    <h3>简单的表单的简介</h3>
    <h3>input 表单是单身狗</h3>
    <form action="post">
        <fieldset>
            <legend>1.文本域表单（Text Field）用来输入用户和密码</legend>
            <span>
                username: <input type="text" name="username">
            </span>
            <br>
            <span>
                password: <input type="password" name="password">
            </span>
        </fieldset>
    </form>
    <form action="post">
        <fieldset>
            <legend>2.单选按钮（Radio Buttons）</legend>
            <span>
                <input type="text">
            </span>
        </fieldset>
    </form>
</body>

</html>